package day0726API;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Test9 {
    public static void main(String[] args) {
        //Scanner s=new Scanner(System.in);//System.in是一个输入流(java创建)可以用来读取控制台输入的数据
        //String i=s.nextLine();
        try {
            InputStreamReader isr=new InputStreamReader(System.in);
            BufferedReader br=new BufferedReader(isr);
            String i=br.readLine();
            int  i2=Integer.parseInt(i);
            for(int x=i2;  x>0;  x--){

                    System.out.println(x);
                    Thread.sleep(1000);
            }
        } catch (InterruptedException e) {
            e.printStackTrace();
        }catch (IOException e) {
            e.printStackTrace();
        }



    }
}
